Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model parallel #538

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Model parallel #538

merged 3 commits into from
Sep 13, 2023

Conversation

winglian
Copy link
Collaborator

@winglian winglian commented Sep 8, 2023

supports falcon-180b now! using naive model parallel. correctly sets the device when launching on multi-gpu without accelerate

@winglian winglian requested a review from tmm1 September 8, 2023 01:20
@@ -28,7 +28,7 @@ def gpu_memory_usage_smi(device=0):


def log_gpu_memory_usage(log, msg, device):
if not torch.cuda.is_available():
if not torch.cuda.is_available() or device == "auto":
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not able to determine the device to log gpu stats for

@winglian winglian merged commit f6060a6 into main Sep 13, 2023
6 checks passed
@winglian winglian deleted the model-parallel branch September 13, 2023 15:45
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
* model-parallel for single process

* fix device/device_map

* fix handling for device
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* model-parallel for single process

* fix device/device_map

* fix handling for device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant